package com.vil.entity;

import java.util.List;

/**
 * Des: 菜单类
 * @author sunwei
 */
public class Menu {
	
	private Function mainMenu; //主菜单

	private List<Function> subMenus; //子菜单

	public void setMainMenu(Function mainMenu){
		this.mainMenu = mainMenu;
	}

	public Function getMainMenu() {
			return mainMenu;
	}

	public void setSubMenus(List<Function> subMenus) {
		this.subMenus = subMenus;
	}

	public List<Function> getSubMenus() {
		return subMenus;
	}

	@Override
	public String toString() {
		return "Menu [mainMenu=" + mainMenu + ", subMenus=" + subMenus + "]";
	}

	
}
